package com.whut.whw.personalinfo;

import com.whut.whw.model.User;

import java.io.Serializable;
import java.util.Date;

import cn.droidlover.xdroidbase.kit.Kits;

/**
 * Created by ZengWangHong on 2017/07/11.
 * @decription 嵌套的JSon数据
 */

public class PersonalJSon implements Serializable{

    private String msg;
    private Data data;
    private boolean success;


    public PersonalJSon(){}
    public PersonalJSon(String msg,Data data,boolean success){
        this.msg=msg;
        this.data=data;
        this.success=success;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public Data getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean getSuccess(){
        return success;
    }

    public class Data{
        public int attenNum;
        public int fanNum;
        public User user;

        public Data(){}
        public Data(int attenNum,int fanNum,User user){
            this.attenNum=attenNum;
            this.fanNum=fanNum;
            this.user=user;
        }

        public void setAttenNum(int attenNum) {
            this.attenNum = attenNum;
        }

        public void setFanNum(int fanNum) {
            this.fanNum = fanNum;
        }

        public void setUser(User user) {
            this.user = user;
        }

        public int getAttenNum() {
            return attenNum;
        }

        public int getFanNum() {
            return fanNum;
        }

        public User getUser() {
            return user;
        }
    }
}
